package com.onepiece.shipelves.common.enums;


import com.onepiece.shipelves.common.Result;

/**
 * @author: ting
 * @date: 2019-10-23
 */
public interface BaseExceptionEnum {

    /**
     * 创建Result对象
     * @return
     */
    Result createResult();

    /**
     * 获取exceptionCode
     * @return
     */
    String getExceptionCode();

    /**
     * 获取exceptionMessage
     * @return
     */
    String getExceptionMessage();
}
